import 'package:json_annotation/json_annotation.dart';

part 'UserAddress.g.dart';

@JsonSerializable()
class UserAddress {
  UserAddress();

  String? id;
  String? userId;
  String? province;
  String? city;
  String? area;
  String? street;
  num? lng;
  num? lat;
  String? address;
  String? detail;
  String? contact;
  num? gender;
  String? phone;
  num? addressDefault;
  String? createTime;
  String? updateTime;
  
  factory UserAddress.fromJson(Map<String,dynamic> json) => _$UserAddressFromJson(json);
  Map<String, dynamic> toJson() => _$UserAddressToJson(this);
}
